package com.vpx.server.service.system.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.vpx.server.bean.entity.CProjectFlow;
import com.vpx.server.mapper.system.CProjectFlowMapper;
import com.vpx.server.service.system.CProjectFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【c_project_flow】的数据库操作Service实现
* @createDate 2023-11-18 15:37:22
*/
@Service
public class CProjectFlowServiceImpl extends ServiceImpl<CProjectFlowMapper, CProjectFlow>
    implements CProjectFlowService {

    @Autowired
    private CProjectFlowMapper cProjectFlowMapper;
    @Override
    public void insert(CProjectFlow cProjectFlow) {
        cProjectFlowMapper.add(cProjectFlow);
    }

    @Override
    public void update(CProjectFlow cProjectFlow) {
cProjectFlowMapper.updateById(cProjectFlow);
    }

    @Override
    public void delete(CProjectFlow cProjectFlow) {
cProjectFlowMapper.deleteById(cProjectFlow);
    }



    @Override
    public List<CProjectFlow> selectAll() {
        return cProjectFlowMapper.selectAll();
    }
}




